POV-Ray : Newsgroups : povray.advanced-users : uv_map not turning : uv_map not turning Server Time
2 Nov 2024 05:20:27 EDT (-0400)
  uv_map not turning  
From: kane
Date: 9 May 2000 22:38:08
Message: <3918cb90$1@news.povray.org>
Here is the code i'm using to map the image of a face onto a head...

#declare Head = object {head
        uv_mapping texture {
                pigment {
                        image_map {gif "face.gif" }  // face image
                        scale <.8,.9999,.9999>      // scaling the image to
fit the head
                        rotate -23.5*y rotate 9*x  // rotating the image to
position eyes  with eyes, mouth with mouth etc.
                        }
                }
scale 10  // enlarging the head to see it better
rotate 180*y // rotating the head to face the front
}



object {Head
rotate -45*y // attempting to turn the whole head, texture and all

}


I try this and the image stays pointing forward and the head turns, so that
the face is on the side of the head......

any ideas?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.